API Documentation
Namespaces | Classes | Enumerations
nkAstraeus Namespace Reference

Encompasses all API of component NilkinsAstraeus. More...

Namespaces

 lua
 Encompasses the wrapping done for a Lua environment.
 

Classes

class  Effect
 Base class for all effects in the component. More...
 
class  EffectManager
 Manages the effects available in the component. More...
 
class  EffectTypeUtils
 Offers utility functions to help with the enumeration support. More...
 
class  Engine
 The main entry point for nkAstraeus engine. More...
 
class  FilmGrainEffect
 A film grain effect. More...
 
struct  FilmGrainEffectInfo
 For internal usage, should not be called. More...
 
class  FilmGrainEffectUtils
 Utilities that can help when using an FilmGrainEffect. More...
 
class  FilmGrainProgramSources
 For internal usage, should not be called. More...
 
class  FilmGrainProgramTracker
 For internal usage, should not be called. More...
 
class  FxaaEffect
 A Fast Approximate Anti-Aliasing effect. More...
 
struct  FxaaEffectInfo
 For internal usage, should not be called. More...
 
class  FxaaProgramSources
 For internal usage, should not be called. More...
 
class  FxaaProgramTracker
 For internal usage, should not be called. More...
 
class  GraphicsEngine
 Drives the graphics engine part. More...
 
class  ImageEnvironmentEffect
 Effect using a texture as an input to use it as an environment for the view. More...
 
struct  ImageEnvironmentEffectInfo
 For internal usage, should not be called. More...
 
class  ImageEnvironmentProgramSources
 For internal usage, should not be called. More...
 
class  ImageEnvironmentProgramTracker
 For internal usage, should not be called. More...
 
class  LogManager
 Responsible for logging all messages from the component. By registering a nkLog::Logger inside, it is possible to listen to all messages logged. More...
 
class  Material
 Base class for all materials in the component. More...
 
class  MaterialManager
 Manages the materials available in the component. More...
 
class  OneChannelPackUtils
 Offers utilities to use with the ONE_CHANNEL_PACK enumeration class. More...
 
class  PbsEnvMapFilter
 Provides tools to filter environment maps and improve IBL within PbsMaterial. More...
 
class  PbsEnvMapFilterSources
 For internal usage, should not be called. More...
 
class  PbsMaterial
 A Physically Based Shading material. More...
 
struct  PbsMaterialInfo
 For internal usage, should not be called. More...
 
class  PbsProgramSources
 For internal usage, should not be called. More...
 
class  PbsProgramTracker
 For internal usage, should not be called. More...
 
struct  ProgramEntry
 Entry used internally by the tracker to keep references over programs. More...
 
class  ProgramTracker
 Template class used internally to track programs within materials and effects. More...
 
class  ProjectLoader
 Allows to load and save projects, that is, resource sets. More...
 
struct  ProjectLoadQuery
 Describes a project load query. More...
 
struct  ProjectLoadResult
 Holds information about a project load attempt. More...
 
struct  ProjectSaveQuery
 Describes a project save query. More...
 
class  ScriptsEngine
 Drives the scripting sub engine. More...
 
class  SsaoEffect
 A Screen Space Ambient Occlusion effect. More...
 
struct  SsaoEffectInfo
 For internal usage, should not be called. More...
 
class  SsaoEffectUtils
 Utilities that can help when using an SsaoEffect. More...
 
class  SsaoProgramSources
 For internal usage, should not be called. More...
 
class  SsaoProgramTracker
 For internal usage, should not be called. More...
 
class  TextureCopyEffect
 A texture copy effect. More...
 
struct  TextureCopyEffectInfo
 For internal usage, should not be called. More...
 
class  TextureCopyProgramSources
 For internal usage, should not be called. More...
 
class  TextureCopyProgramTracker
 For internal usage, should not be called. More...
 
class  ThreeChannelPackUtils
 Offers utilities to use with the ONE_CHANNEL_PACK enumeration class. More...
 
class  ToneMappingEffect
 A tone mapping effect meant to map linear values to display device colors. More...
 
struct  ToneMappingEffectInfo
 For internal usage, should not be called. More...
 
struct  ToneMappingHablesCurveDescriptor
 Provides all parameters to tune the Hables curve to tone map an image. More...
 
class  ToneMappingProgramSources
 For internal usage, should not be called. More...
 
class  ToneMappingProgramTracker
 For internal usage, should not be called. More...
 

Enumerations

enum  EFFECT_TYPE {
  EFFECT_TYPE::UNKNOWN = 0, EFFECT_TYPE::FILM_GRAIN, EFFECT_TYPE::FXAA, EFFECT_TYPE::IMAGE_ENVIRONMENT,
  EFFECT_TYPE::SSAO, EFFECT_TYPE::TEXTURE_COPY, EFFECT_TYPE::TONE_MAPPING
}
 Lists all effects supported. More...
 
enum  FXAA_PRESET {
  DITHER_MEDIUM_RADIUS_3 = 0, DITHER_MEDIUM_RADIUS_4, DITHER_MEDIUM_RADIUS_5, DITHER_MEDIUM_RADIUS_6,
  DITHER_MEDIUM_RADIUS_7, DITHER_MEDIUM_RADIUS_8, DITHER_LOW_RADIUS_3, DITHER_LOW_RADIUS_4,
  DITHER_LOW_RADIUS_5, DITHER_LOW_RADIUS_6, DITHER_LOW_RADIUS_7, DITHER_LOW_RADIUS_8,
  DITHER_LOW_RADIUS_9, DITHER_LOW_RADIUS_10, DITHER_LOW_RADIUS_11, DITHER_LOW_RADIUS_12,
  DITHER_LOWEST_RADIUS_12
}
 Describes all FXAA effect presets available. More...
 
enum  IMAGE_ENVIRONMENT_PROJECTION { IMAGE_ENVIRONMENT_PROJECTION::AUTO = 0, IMAGE_ENVIRONMENT_PROJECTION::FLAT, IMAGE_ENVIRONMENT_PROJECTION::CUBE, IMAGE_ENVIRONMENT_PROJECTION::EQUIRECTANGULAR }
 Enumerates the projections supported for a source environment image. More...
 
enum  ONE_CHANNEL_PACK { ONE_CHANNEL_PACK::R = 0, ONE_CHANNEL_PACK::G, ONE_CHANNEL_PACK::B, ONE_CHANNEL_PACK::A }
 Enumeration of texture channels, one by one. More...
 
enum  THREE_CHANNEL_PACK {
  THREE_CHANNEL_PACK::RGB = 0, THREE_CHANNEL_PACK::RGA, THREE_CHANNEL_PACK::RBA, THREE_CHANNEL_PACK::GBA,
  THREE_CHANNEL_PACK::BGR, THREE_CHANNEL_PACK::BGA, THREE_CHANNEL_PACK::BRA
}
 Enumeration of texture channels, packed by three. More...
 
enum  MATERIAL_TYPE { MATERIAL_TYPE::UNKNOWN = 0, MATERIAL_TYPE::PBS }
 Lists all materials supported. More...
 

Detailed Description

Encompasses all API of component NilkinsAstraeus.

NilkinsAstraeus is a component that leverages all other capabilities exposed in other components to offer what gets near a game engine. Currently, it will :

As it goes, it will evolve to offer a higher level control, and more capabilities to ease the use of the engine as a whole.

Enumeration Type Documentation

◆ EFFECT_TYPE

Lists all effects supported.

Enumerator
UNKNOWN 

Unknown placeholder.

FILM_GRAIN 

Film grain effect.

FXAA 

Fast Approximate Anti-Aliasing effect.

IMAGE_ENVIRONMENT 

Image Environment effect.

SSAO 

Screen Space Ambient Occlusion effect.

TEXTURE_COPY 

Simple texture copy effect.

TONE_MAPPING 

Tone mapping effect.

◆ FXAA_PRESET

Describes all FXAA effect presets available.

Presets drive the main algorithm logic. They give how much dithering should be acceptable, and what is the lookup radius of the filter. More dithering can mean harsher effect, while less dithering can smooth up better the image, as will do a bigger radius. However, keep in mind that the smaller the dither and the bigger the radius, the bigger the hit on the performance is.

Default value is DITHER_MEDIUM_RADIUS_5, representing a good compromise between quality and performances.

◆ IMAGE_ENVIRONMENT_PROJECTION

Enumerates the projections supported for a source environment image.

Enumerator
AUTO 

Auto-detect based on the image's type.

FLAT 

Flat texture, only interpolated on the screen's uvs.

CUBE 

Cubemap texture, interpolated based on a pixel's direction.

EQUIRECTANGULAR 

Equirectangular, interpolated using a pixel's direction converted to a 2D uv coordinate.

◆ ONE_CHANNEL_PACK

Enumeration of texture channels, one by one.

Enumerator

Red channel.

Green channel.

Blue channel.

Alpha channel.

◆ THREE_CHANNEL_PACK

Enumeration of texture channels, packed by three.

Enumerator
RGB 

Red, green, blue channels.

RGA 

Red, green, alpha channels.

RBA 

Red, blue, alpha channels.

GBA 

Green, blue, alpha channels.

BGR 

Blue, green, red channels.

BGA 

Blue, green, alpha channels.

BRA 

Blue, red, alpha channels.

◆ MATERIAL_TYPE

Lists all materials supported.

Enumerator
UNKNOWN 

Unknown place holder.

PBS 

Physically Based Shading material.